const router = require('express').Router();
const { getById, getAll } = require('../controllers/mysteryBoxController');
const authMiddleware = require('../middlewares/authMiddleware');

router.get('/:categoriesid/:suijiid', authMiddleware, getById);
router.get('/', authMiddleware, getAll);

module.exports = router;